package com.gongyi.pojo;

/**
 * @Classname User
 * @Description TODO
 * @Date 2022/1/3 16:49
 * @Created by Administrator
 */
public class UserT {
    private String name;

    public UserT() {
        System.out.println("UserT被创建了");
    }

    public UserT(String name) {
        this.name = name;
        System.out.println("UserT有参构造方法");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void show() {
        System.out.println("name=" + name);
    }
}
